<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
    <meta charset="UTF-8" />
    <meta name="viewport"
          content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no" />
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <title>行政申请在线申请-2</title>
    <link rel="stylesheet" href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" />
    <link rel="stylesheet" href="../static/layer/mobile/need/layer.css" th:href="@{/layer/mobile/need/layer.css}" />
    <link rel="stylesheet" href="../static/css/main.css" th:href="@{/css/main.css}" />
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdn.bootcss.com/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css" rel="stylesheet">

    <style>

    </style>
</head>

<body>
<div class="header">
    <div class="container">
    </div>
</div>

<div class="searchBar">
    <div class="container">
        <a class="toIndex" ><span><</span>返回首页</a>
    </div>
</div>

<section>
    <div class="container">
        <div class="info">
            <p>
                <i class="left_line"></i>
                <span>被申请人个人信息</span>
            </p>
            <p>
                提示：被申请人信息，便于我们与对方联系
            </p>
        </div>

        <div class="row">
            <div class="col-sm-10" >
                <form class="form-horizontal" action="apply_step3" method="post" >
                <div class="form-group">
                    <div class="col-sm-8" >
                        <label for="respondentName" class="col-sm-2 control-label">名称</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" name="respondentName"  id="respondentName" placeholder="请填写名称"/>
                        </div>
                    </div>

                </div>
                <div class="form-group">
                    <div class="col-sm-8" >
                        <label for="respondentLegalName" class="col-sm-2 control-label">法人代表</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control"  name="respondentLegalName" id="respondentLegalName" placeholder="请填写法人代表"/>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-8" >
                        <label for="respondentLocation" class="col-sm-2 control-label">所在地</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control"  name="respondentLocation" id="respondentLocation" placeholder="请填写所在地"/>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-8" >
                        <label for="respondentPhone" class="col-sm-2 control-label">联系方式</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control"  onblur="isPhone(this.value);"  id="respondentPhone" name="respondentPhone" placeholder="请填写联系方式"/>
                        </div>
                    </div>
                </div>

        </form>

            <div class="form-group">
                <div class="footer">
                    <button class="btn-primary" onclick="back()">上一步 </button>
                    <button class="btn-primary nextStep">下一步 </button>
                </div>
            </div>
            </div>

            <div class="col-sm-2" >
                <div class="imgBox">
                    <img src="../static/image/law_steps_img_2@2x.png"  th:src="@{image/law_steps_img_2@2x.png}" alt=""/>
                </div>
            </div>
        </div>
     </div>
</section>

<script src="../static/js/jquery-3.4.1.min.js" th:src="@{js/jquery-3.4.1.min.js}"></script>
<script src="../static/js/common.js"  th:src="@{js/common.js}"></script>
<script src="../static/js/bootstrap.min.js"  th:src="@{js/bootstrap.min.js}"></script>
<script src="../static/layer/layer.js"  th:src="@{layer/layer.js}"></script>
<script type="text/javascript">


    $('.toIndex').click(function(){
        window.location.href="/index";
    })

  $('.nextStep').click(function() {
       if($('#respondentName').val()==''){
        layer.msg('请填写名称');
         return false;
       }
        if($('#respondentLegalName').val()==''){
        layer.msg('请填写法人代表');
         return false;
       }
        if($('#respondentLocation').val()==''){
        layer.msg('请填写所在地');
       }
        if($('#respondentPhone').val()==''){
        layer.msg('请填写联系方式');
         return false;
       }
       	$("form").submit();

  })

</script>
</body>

</html>
